package com.nsn.das.midas.model.embedded;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class Version {
	@Column(name="version",length=20)
	private String version;
	
	public Version() {}
	
	public Version(String version){
		this.version = version;
	}
	
	public String getVersion() {
		return version;
	}
	
	public void setVersion(String version) {
		this.version = version;
	}

	public static Version getInstance(String version) {
		return new Version(version);
	}
}
